<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
            <div class="table">
                <div class="table_left">
                    <label for="store_name">Store name</label>
                </div>
                <div class="table_right">
                    <input type="text" name="val[store_name]" value="{value type='input' id='store_name'}" id="store_name" size="80" maxlength="100" />
                </div>
            </div>
            <div class="table">
                <div class="table_left">
                    <label for="store_address">Address</label>
                </div>
                <div class="table_right">
                    <input type="text" name="val[store_address]" value="{value type='input' id='store_address'}" id="store_address" size="80" maxlength="100" />
                </div>
            </div>
            <div class="table">
                <div class="table_left">
                    <label for="city">City</label>
                </div>
                <div class="table_right">
                    <input type="text" name="val[city]" value="{value type='input' id='city'}" id="city" size="20" maxlength="200" />
                </div>
            </div>
            <div class="table">
                <div class="table_left">
                    <label for="country_child_id">State</label>
                </div>
                <div class="table_right">
                    {module name='core.country-child'}
                </div>
            </div>
            <div class="table">
                <div class="table_left">
                    <label for="country_iso">Country</label>
                </div>
                <div class="table_right">
                    {select_location}
                </div>
            </div>
            <div class="table">
                <div class="table_left">
                    <label for="phone_number">Phone number</label>
                </div>
                <div class="table_right">
                    <input type="text" name="val[phone_number]" value="{value type='input' id='phone_number'}" id="phone_number" size="80" maxlength="100" />
                </div>
            </div>
            <div class="table">
                <div class="table_left">
                    <label for="store_link">Link</label>
                </div>
                <div class="table_right">
                    <div id="store_links_holder">
                        {if isset($aForms.links) && count($aForms.links) > 0}
                            {foreach from=$aForms.links item=sLink}
                            <input type="text" name="val[store_link][]" value="{$sLink}" size="80" maxlength="100" /><br/>
                            {/foreach}
                        {else}
                            <input placeholder="Add your online store" type="text" name="val[store_link][]" value="" size="80" maxlength="100" /><br/>
                        {/if}                        
                    </div>

                    <div>
                        <a class="store_add_link" href="#" onclick="addStoreLink();return false;">+Other link</a>
                    </div>
                </div>
            </div>